<template>
    <div>
      <v-title></v-title>
      <div>这是商品：{{ good_id }}</div>
      <v-back></v-back>
    </div>
  </template>
  
  <script>
  export default {
    data(){
      return {
         good_id:""
      }
    },
     mounted(){
       //this.$route.params.变量名
       console.log(this.$route.params.id);
       this.good_id = this.$route.params.id
     }
  }
  </script>
  
  <style scoped>

  </style>